﻿using HBase;
using hCommand; 
using Persistence; 
using System;
using System.Collections.Generic;
 

namespace WebApi {

    [RoutePrefix("api/welcome")]
    public class WelcomeController :BaseApiController {
        ISysAuthorityServer authorityServer = WMSDalFactray.getDal<ISysAuthorityServer>();
        [HttpGet, Route("data")]
        public BaseResult data() {
 


            return new BaseResult(null);

        }


        [HttpPost, Route("indexData")]
        public BaseResult indexData() {
            String name = CookieHelper.LoginName();
           

            return BaseResult.Ok(name);
        }
       
    }

    public class Pages<T> {
        /**
		 * 记录总数
		 */
        public long totalSize { get; set; }

        /**
		 * 分页数据
		 */
        public List<T> content { get; set; }
    }
}
